From bddc6f497ed57e1bf1f6d90756a6ad256606224d Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Mon, 28 Jul 2008 13:39:47 +0100 Subject: [PATCH] Change cpufreq_controller from meanless FREQCTL_none to FREQCTL_xen Signed-off-by: Liu Jinsong --- xen/common/domain.c | 2 +- xen/include/xen/sched.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xen/common/domain.c b/xen/common/domain.c index b420b4b219..c8c7d19bd5 100644 --- a/xen/common/domain.c +++ b/xen/common/domain.c @@ -50,7 +50,7 @@ static void __init setup_cpufreq_option(char *str) else if ( !strcmp(str, "xen") ) { xen_processor_pmbits |= XEN_PROCESSOR_PM_PX; - cpufreq_controller = FREQCTL_none; + cpufreq_controller = FREQCTL_xen; } } custom_param("cpufreq", setup_cpufreq_option); diff --git a/xen/include/xen/sched.h b/xen/include/xen/sched.h index 9d38805bf3..9b05f0d59e 100644 --- a/xen/include/xen/sched.h +++ b/xen/include/xen/sched.h @@ -541,7 +541,7 @@ static inline void vcpu_unblock(struct vcpu *v) #define need_iommu(d) ((d)->need_iommu && !(d)->is_hvm) extern enum cpufreq_controller { - FREQCTL_none, FREQCTL_dom0_kernel + FREQCTL_none, FREQCTL_dom0_kernel, FREQCTL_xen } cpufreq_controller; #endif /* __SCHED_H__ */ -- 2.30.2